package com.atguigu.gulimall.user;

import com.atguigu.gmall.common.exception.EnableAutoExceptionHandle;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScan("com.atguigu.gulimall.user.mapper")
@SpringBootApplication
@EnableAutoExceptionHandle//启用自定义全局异常处理
public class UserMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserMainApplication.class, args);
    }
}
